package com.nand.blockdemo.bean;

import java.util.List;

/**
 * created by 86185
 * on 2020/1/6
 */
public class ModuleBean {

    /**
     * child : [{"isChild":"1","moduleName":"设备保养","moduleUrl":"http://10.10.24.99:8083/profile/uploadFile/image/1.png","oid":"2","parentId":"1"},{"isChild":"1","moduleName":"设备报修","moduleUrl":"http://10.10.24.99:8083/profile/uploadFile/image/2.png","oid":"3","parentId":"1"},{"isChild":"1","moduleName":"设备台账","moduleUrl":"http://10.10.24.99:8083/profile/uploadFile/image/3.png","oid":"4","parentId":"1"},{"isChild":"1","moduleName":"点/巡检","moduleUrl":"http://10.10.24.99:8083/profile/uploadFile/image/4.png","oid":"5","parentId":"1"}]
     * isChild : 0
     * moduleName : 设备模块
     * moduleUrl :
     * oid : 1
     * parentId :
     */

    private String isChild;
    private String moduleName;
    private String moduleUrl;
    private String oid;
    private String parentId;
    private List<ChildBean> child;

    public String getIsChild() {
        return isChild;
    }

    public void setIsChild(String isChild) {
        this.isChild = isChild;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleUrl() {
        return moduleUrl;
    }

    public void setModuleUrl(String moduleUrl) {
        this.moduleUrl = moduleUrl;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<ChildBean> getChild() {
        return child;
    }

    public void setChild(List<ChildBean> child) {
        this.child = child;
    }

    public static class ChildBean {
        /**
         * isChild : 1
         * moduleName : 设备保养
         * moduleUrl : http://10.10.24.99:8083/profile/uploadFile/image/1.png
         * oid : 2
         * parentId : 1
         * code: 12
         */

        private String isChild;
        private String moduleName;
        private String moduleUrl;
        private String oid;
        private String parentId;
        private int code;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getIsChild() {
            return isChild;
        }

        public void setIsChild(String isChild) {
            this.isChild = isChild;
        }

        public String getModuleName() {
            return moduleName;
        }

        public void setModuleName(String moduleName) {
            this.moduleName = moduleName;
        }

        public String getModuleUrl() {
            return moduleUrl;
        }

        public void setModuleUrl(String moduleUrl) {
            this.moduleUrl = moduleUrl;
        }

        public String getOid() {
            return oid;
        }

        public void setOid(String oid) {
            this.oid = oid;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }
    }
}
